package com.yicong.ants.bean.account;

/**
 * 推荐好友二维码
 * @author cchao
 * @version 2019-08-07.
 */
public class RecFriendQrBean {
    private String url;
    private String qrCode;
    private String description;

    public RecFriendQrBean() {
    }

    public String getUrl() {
        return this.url;
    }

    public String getQrCode() {
        return this.qrCode;
    }

    public String getDescription() {
        return this.description;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public void setQrCode(String qrCode) {
        this.qrCode = qrCode;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof RecFriendQrBean)) return false;
        final RecFriendQrBean other = (RecFriendQrBean) o;
        if (!other.canEqual((Object) this)) return false;
        final Object this$url = this.getUrl();
        final Object other$url = other.getUrl();
        if (this$url == null ? other$url != null : !this$url.equals(other$url)) return false;
        final Object this$qrCode = this.getQrCode();
        final Object other$qrCode = other.getQrCode();
        if (this$qrCode == null ? other$qrCode != null : !this$qrCode.equals(other$qrCode))
            return false;
        final Object this$description = this.getDescription();
        final Object other$description = other.getDescription();
        if (this$description == null ? other$description != null : !this$description.equals(other$description))
            return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof RecFriendQrBean;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $url = this.getUrl();
        result = result * PRIME + ($url == null ? 43 : $url.hashCode());
        final Object $qrCode = this.getQrCode();
        result = result * PRIME + ($qrCode == null ? 43 : $qrCode.hashCode());
        final Object $description = this.getDescription();
        result = result * PRIME + ($description == null ? 43 : $description.hashCode());
        return result;
    }

    public String toString() {
        return "RecFriendQrBean(url=" + this.getUrl() + ", qrCode=" + this.getQrCode() + ", description=" + this.getDescription() + ")";
    }
}
